package com.cooge.jiexi;

import java.util.HashMap;

import org.apache.http.message.BasicHeader;

public class tudou {

	public static void main(String[] args) throws Exception {
		
		String id = "XNTcwMzU4MzM2";
		HashMap<String,String> post = new HashMap<String,String>();
		post.put("url", "http://v.youku.com/v_show/id_XNTcwMzU4MzM2.html");
		BasicHeader bh = new BasicHeader("User-Agent","vst-2.0");
		String str = NetUtil.postHtml("http://play.91vst.com/", post,bh);
		str = str.substring(str.indexOf("http"));
		int end = str.indexOf("\"");
		str = str.substring(0, end);
		System.out.println(str);
		

	}

}
